#ifndef XBUTTON_H
#define XBUTTON_H

#ifdef XEXPORTING
#define XEXPORT_DLL __declspec(dllexport)
#else
#define XEXPORT_DLL __declspec(dllimport)
#endif

#include <XMain.h>

class XEXPORT_DLL XButton
{
private:
	bool CurrentState;
	bool PreviousState;
public:
	XButton();

	bool GetCurrent();
	bool GetPrevious();

	void SetPressed();
	void SetReleased();
	void Update();
};

#endif